Add 'type vnc' to vfb device sexpr for HVM guest
authorkfraser@localhost.localdomain <kfraser@localhost.localdomain>
Tue, 11 Sep 2007 12:40:44 +0000 (13:40 +0100)
committerkfraser@localhost.localdomain <kfraser@localhost.localdomain>
Tue, 11 Sep 2007 12:40:44 +0000 (13:40 +0100)
commit4a6a1afb1cd360b0b1c482d86aa25fd284e22b28
tree9da64b17b20639a57ef6f17522619322778a6d46
parente58cf9dbf9637ec11acf7de9c2fd39c776c2b394
Add 'type vnc' to vfb device sexpr for HVM guest

This patch adds 'type vnc' to vfb device sexpr for HVM guests.  PV
guests already contain this entry in sexpr, e.g.

    (device
        (vfb
            (vncunused 1)
            ...
           (type vnc)
            ...
        )
    )

Some tools, such as libvirt, look for device/vfb/type in sexpr before
publishing VNC port.  More importantly, this patch provides
consistency in vfb device sexpr between HVM and PV guests.

Signed-off-by: Jim Fehlig <jfehlig@novell.com>
tools/python/xen/xend/XendConfig.py